megatron.data.image_folder.is_image_file# megatron.data.image_folder.is_image_file(filename: str) → bool# Checks if a file is an allowed image extension. :param filename: path to a file :type filename: string Returns: True if the filename ends with a known image extension Return type: bool