private function checkRelationship($method)
    {
        $table = $this->table;

        $one = $table->getOneRelationship();
        $many = $table->getManyRelationship();
        $belongsTo = $table->getBelongsToRelationship();

        $type = null;
        $params = null;

        if (!is_null($one) && array_key_exists($method, $one)) {
            $type = 'one';
            $params = $one[$method];
        }

        if (!is_null($many) && array_key_exists($method, $many)) {
            $type = 'many';
            $params = $many[$method];
        }

        if (!is_null($belongsTo) && array_key_exists($method, $belongsTo)) {
            $type = 'belongsTo';
            $params = $belongsTo[$method];
        }

        if (is_null($type)) {
            return false;
        }

        return $this->parseRelationship($table, $type, $params);
    }