public static function isNotEmpty($string)
    {
        if (!self::isValid($string) &&
            null !== $string
        ) {
            return false;
        }

        return (!self::isEmpty($string));
    }
public static function isNotEmpty($string)
    {
        if (!self::isValid($string) &&
            null !== $string
        ) {
            return false;
        }

        return (!self::isEmpty($string));
    }
public static function isNotEmpty ( $ string ) { if ( ! self :: isValid ( $ string ) && null !== $ string ) { return false ; } return ( ! self :: isEmpty ( $ string ) ) ; }
Check if string is not empty

@param string $string The string

@return bool
Check if string is not empty