public static function isFile($path): bool
    {
        $path = self::clean($path);
        return file_exists($path) && is_file($path);
    }
public static function isFile($path): bool
    {
        $path = self::clean($path);
        return file_exists($path) && is_file($path);
    }
public static function isFile ( $ path ) : bool { $ path = self :: clean ( $ path ) ; return file_exists ( $ path ) && is_file ( $ path ) ; }
Check is current path regular file

@param string $path
@return bool
Check is current path regular file