final protected function valueExists($column, $value)
    {
        $this->validateShortcutData();

        return (bool) $this->db->select()
                               ->count($column)
                               ->from(static::getTableName())
                               ->whereEquals($column, $value)
                               ->queryScalar();
    }
final protected function valueExists($column, $value)
    {
        $this->validateShortcutData();

        return (bool) $this->db->select()
                               ->count($column)
                               ->from(static::getTableName())
                               ->whereEquals($column, $value)
                               ->queryScalar();
    }
final protected function valueExists ( $ column , $ value ) { $ this -> validateShortcutData ( ) ; return ( bool ) $ this -> db -> select ( ) -> count ( $ column ) -> from ( static :: getTableName ( ) ) -> whereEquals ( $ column , $ value ) -> queryScalar ( ) ; }
Determines whether column value already exists

@param string $column Column name
@param string $value Column value to be checked
@return boolean
Determines whether column value already exists