@staticmethod
def StatusCode(excpectedStatusCode, statusCode):
    """Check whether the returned status codes are correct
        
        Args:
            excpectedStatusCode (StatusCode): The excpected status code
            statusCode (int): Returned status code    
        Returns:
            (bool): Returns true on success
        """
    if not statusCode == excpectedStatusCode:
        raise Exception(
            f'Returned status code: {statusCode}, excepted status code: {excpectedStatusCode}'
            )
    return True
