def reel_compatible_aspect_ratio(cls, size):
        """
        Helper method to check aspect ratio for story uploads

        :param size: tuple of (width, height)
        :return: True/False
        """
        min_ratio, max_ratio = MediaRatios.reel
        width, height = size
        this_ratio = 1.0 * width / height
        return min_ratio <= this_ratio <= max_ratio

        Helper method to check aspect ratio for story uploads

        :param size: tuple of (width, height)
        :return: True/False
        
instagram_private_api/endpoints/upload.py