public function checkDomain($type, $domain, $subdomain = "")
    {
        return $this->api->checkDomain($type, $domain, $subdomain);
    }
public function checkDomain($type, $domain, $subdomain = "")
    {
        return $this->api->checkDomain($type, $domain, $subdomain);
    }
public function checkDomain ( $ type , $ domain , $ subdomain = "" ) { return $ this -> api -> checkDomain ( $ type , $ domain , $ subdomain ) ; }
Check if a domain name is available

@param string $type 'domain' or 'subdomain' to separate whether it's an owned domain or a subdomain
@param string $domain If the type is 'domain', then this contains the full domain. If the type is 'subdomain', then this is the master domain.
@param string $subdomain If the type is 'subdomain', then this is the client's custom part of the subdomain
@return bool
Check if a domain name is available