Esensi\Model\Traits\RelatingModelTrait::isRelationship PHP Method

isRelationship() public method

Return whether the name is a relationship or not.
public isRelationship ( string $name ) : boolean
$name string of related model
return boolean
    public function isRelationship($name)
    {
        return array_key_exists($name, $this->relationships);
    }