static public function isCacheEnum($enum)
    {
        if ($enum && in_array($enum, [static::CACHE_NOT, static::CACHE_AUTO, static::CACHE_FLUSH, static::CACHE_FLUSH_ONLY])) {
            return true;
        }
        return false;
    }
static public function isCacheEnum($enum)
    {
        if ($enum && in_array($enum, [static::CACHE_NOT, static::CACHE_AUTO, static::CACHE_FLUSH, static::CACHE_FLUSH_ONLY])) {
            return true;
        }
        return false;
    }
static public function isCacheEnum ( $ enum ) { if ( $ enum && in_array ( $ enum , [ static :: CACHE_NOT , static :: CACHE_AUTO , static :: CACHE_FLUSH , static :: CACHE_FLUSH_ONLY ] ) ) { return true ; } return false ; }
check is cache enum
@param  string $enum
@return boolean
check is cache enum