def is_precipitating(weather: dict,
                     conditions: tuple = (
                             200, 201, 202, 210, 211, 212, 221, 230, 231, 232, 300, 301, 302, 310, 311,
                             312, 313, 314, 321, 500, 501, 502, 503, 504, 511, 520, 521, 522, 531, 600,
                             601, 602, 611, 612, 615, 620, 621, 622)) -> bool:
    """
    Return True if there is precipitation in the weather object provided.
    What is defined as precipitation is given in the optional conditions param.
    """
    return weather['weather'][0]['id'] in conditions