file_matches_mask Method
Checks whether a particular file or directory name matches the specified mask.
Syntax
def file_matches_mask(mask: str, file_name: str, case_sensitive: bool) -> bool: ...
Remarks
This method checks whether the file or directory name specified by FileName matches Mask; if it does, this method returns True. The CaseSensitive parameter controls whether a case-sensitive match should be performed.