import requests


def check_orb_response(response):
    """Check Orbital API response."""
    try:
        response.raise_for_status()
        return True
    except requests.exceptions.HTTPError as err:
        r_json = response.json()
        print("\nFAILED:")
        print('Response Error: ', err)
        print(r_json + "\n")
        return False