pygeek_stellar/utils/generic.py
def is_successful_http_status_code(status_code):
    """
    Checks if a given HTTP status code is successfull. For this to happen
    this value should be between 200 and 299 (2XX)
    :param int status_code: Status code to be evaluated.
    :return: Returns true if the status code is successful and false otherwise.
    :rtype: bool
    """
    return is_in_range(status_code, 200, 299)

    Checks if a given HTTP status code is successfull. For this to happen
    this value should be between 200 and 299 (2XX)
    :param int status_code: Status code to be evaluated.
    :return: Returns true if the status code is successful and false otherwise.
    :rtype: bool
    
Checks if a given HTTP status code is successfull. For this to happen
this value should be between 200 and 299 (2XX)
Checks if a given HTTP status code is successfull . For this to happen this value should be between 200 and 299 ( 2XX )
def is_successful_http_status_code(status_code):
    return is_in_range(status_code, 200, 299)
def is_successful_http_status_code ( status_code ) : return is_in_range ( status_code , 200 , 299 )
Checks if a given HTTP status code is successfull.
Checks if a given HTTP status code is successfull .
"""
    Checks if a given HTTP status code is successfull. For this to happen
    this value should be between 200 and 299 (2XX)
    :param int status_code: Status code to be evaluated.
    :return: Returns true if the status code is successful and false otherwise.
    :rtype: bool
    """
Returns true if the status code is successful and false otherwise.
Returns true if the status code is successful and false otherwise .
bool
status_code
Status code to be evaluated.
Status code to be evaluated .