src/Models/Appointment.php
public function isSelfIssued()
    {
        if (!$this->issuer) {
            return false;
        }
        if (!$this->contact) {
            return false;
        }
        if (!$this->contact->user) {
            return false;
        }

        return $this->issuer->id == $this->contact->user->id;
    }
public function isSelfIssued()
    {
        if (!$this->issuer) {
            return false;
        }
        if (!$this->contact) {
            return false;
        }
        if (!$this->contact->user) {
            return false;
        }

        return $this->issuer->id == $this->contact->user->id;
    }
public function isSelfIssued ( ) { if ( ! $ this -> issuer ) { return false ; } if ( ! $ this -> contact ) { return false ; } if ( ! $ this -> contact -> user ) { return false ; } return $ this -> issuer -> id == $ this -> contact -> user -> id ; }
Determine if the target Contact's User is the same of the Appointment
issuer User.

@return bool
Determine if the target Contact s User is the same of the Appointment issuer User .