static protected function phalconQuery($modelName, $field, $generate)
    {
        $return = \Phalcon\Mvc\Model::query()
                                    ->setModelName($modelName)
                                    ->where("$field = :value:")
                                    ->bind(array('value' => $generate))
                                    ->execute();

        return (boolean) $return->count();
    }