protected function hasUsers()
    {
        try {
            $users = $this->app['users']->getUsers();
            if (empty($users)) {
                return false;
            }

            return true;
        } catch (TableNotFoundException $e) {
            return false;
        }
    }
protected function hasUsers()
    {
        try {
            $users = $this->app['users']->getUsers();
            if (empty($users)) {
                return false;
            }

            return true;
        } catch (TableNotFoundException $e) {
            return false;
        }
    }
protected function hasUsers ( ) { try { $ users = $ this -> app [ 'users' ] -> getUsers ( ) ; if ( empty ( $ users ) ) { return false ; } return true ; } catch ( TableNotFoundException $ e ) { return false ; } }
Check to see if the user table exists and has records.

@return bool
Check to see if the user table exists and has records .