protected function validateResult ($result) : bool
	{
		if (!is_string($result)) return TRUE;
		if (stripos($result, "An error") !== 0) return TRUE;
		$this->error = $result;
		return FALSE;
	}
protected function validateResult ($result) : bool
	{
		if (!is_string($result)) return TRUE;
		if (stripos($result, "An error") !== 0) return TRUE;
		$this->error = $result;
		return FALSE;
	}
protected function validateResult ( $ result ) : bool { if ( ! is_string ( $ result ) ) return TRUE ; if ( stripos ( $ result , "An error" ) !== 0 ) return TRUE ; $ this -> error = $ result ; return FALSE ; }
Validates the result from a session
@param mixed $result
@return bool
Validates the result from a session