src/currency.py
def _check_currency(cls, currency):
        """Check if currency is in the exchange rates database and
        return a boolean"""
        if cls.currencies_df.empty:
            return False
        elif currency not in cls.currencies_df.columns:
            return False
        else:
            return True
Check if currency is in the exchange rates database and
        return a boolean
Check if currency is in the exchange rates database and
return a boolean
Check if currency is in the exchange rates database and return a boolean
def _check_currency(cls, currency):
        if cls.currencies_df.empty:
            return False
        elif currency not in cls.currencies_df.columns:
            return False
        else:
            return True
def _check_currency ( cls , currency ) : if cls . currencies_df . empty : return False elif currency not in cls . currencies_df . columns : return False else : return True
Check if currency is in the exchange rates database and
return a boolean
Check if currency is in the exchange rates database and return a boolean
"""Check if currency is in the exchange rates database and
        return a boolean"""
cls
currency