src/AbstractEntity.php
public function __isset($name)
    {
        if (!in_array($name, $this->allowedFields)) {
            throw new \InvalidArgumentException(
                "The field '$name' is not allowed for this entity."
            );
        }
        
        return isset($this->values[$name]);
    }
public function __isset($name)
    {
        if (!in_array($name, $this->allowedFields)) {
            throw new \InvalidArgumentException(
                "The field '$name' is not allowed for this entity."
            );
        }
        
        return isset($this->values[$name]);
    }
public function __isset ( $ name ) { if ( ! in_array ( $ name , $ this -> allowedFields ) ) { throw new \ InvalidArgumentException ( "The field '$name' is not allowed for this entity." ) ; } return isset ( $ this -> values [ $ name ] ) ; }
Check if the specified field has been assigned to the entity
@param $name
@return bool
Check if the specified field has been assigned to the entity