def is_server_error(status):
 return ((500 <= status) and (status <= 599))

def is_server_error ( status ) : return ( ( 500 <= status ) and ( status <= 599 ) )
check if http status code is server error .