def check_conversion_support(out_format, supported_formats):
    """
        Confirms it is possible to convert the input into the specified output
        format

        Parameters
        ----------
        out_format : str
            File format of the output
        supported_formats : str
            The file formats the input supports (i.e. allows conversion)

        Raises
        ------
        Exception
            If the output format is not supported
    """
    if out_format not in supported_formats:
        raise Exception('Input cannot be converted into the format specified')
