import requests


def get_rates(url):
    """Method to get currency rates and returns status of request(boolean)
     and request response in JSON format.
    @:param str url: Exchange site url
    @:return boolean: True for successful response, else False.
    @:return dict: Response in case of success else empty dict.
    """
    response = requests.get(url)
    if response.status_code == 200:
        return True, response.json()
    return False, dict()