getTransferLock() - Transfer Lock Status
The domain name is used to check the status of the transfer lock.
public function getTransferLock($params=[]){
    $domain     = idn_to_ascii($params["domain"],0,INTL_IDNA_VARIANT_UTS46);
    $details    = $this->api->get_details($domain);
    if(!$details){
        $this->error = $this->api->error;
        return false;
    }
    return $details["transfer_lock"] == "on" ? true : false;
}
Parameters;
- $params Provides the value of [options] index in the $order variable in the class.
Retrieval Value;
As Boolean, display "true" if locked and "false" if not.