original_string: public function isDomain($host)
  	{
  	    $dnsResult = false;
  	    //$this->_vhost :  Host.TLD
  	    //idn_to_ascii
  	    $dnsResult = @dns_get_record( \Idna::encode( $host ), DNS_ANY );
  	    if ( $dnsResult )
  	    {
  	        ModuleVisitorLog::writeLog( __METHOD__ , __LINE__ , ': True' );
  	        return true;
  	    }
  	    ModuleVisitorLog::writeLog( __METHOD__ , __LINE__ , ': False' );
  	    return false;
  	}
code: public function isDomain($host)
  	{
  	    $dnsResult = false;
  	    //$this->_vhost :  Host.TLD
  	    //idn_to_ascii
  	    $dnsResult = @dns_get_record( \Idna::encode( $host ), DNS_ANY );
  	    if ( $dnsResult )
  	    {
  	        ModuleVisitorLog::writeLog( __METHOD__ , __LINE__ , ': True' );
  	        return true;
  	    }
  	    ModuleVisitorLog::writeLog( __METHOD__ , __LINE__ , ': False' );
  	    return false;
  	}
code_tokens: public function isDomain ( $ host ) { $ dnsResult = false ; //$this->_vhost :  Host.TLD //idn_to_ascii $ dnsResult = @ dns_get_record ( \ Idna :: encode ( $ host ) , DNS_ANY ) ; if ( $ dnsResult ) { ModuleVisitorLog :: writeLog ( __METHOD__ , __LINE__ , ': True' ) ; return true ; } ModuleVisitorLog :: writeLog ( __METHOD__ , __LINE__ , ': False' ) ; return false ; }
docstring: Check if Domain valid
  
  @param string    Host / domain.tld
  @return boolean
docstring_tokens: Check if Domain valid