public function isRelation($key)
    {
        if(!method_exists($this->model, $key)) {
            return false;
        }
        $relation = $this->model->{$key}();
        return ($relation instanceof Relation);
    }