public static function isWritable($file, $strict = null)
    {
        if (is_writable($file)) {
            return true;
        }