def is_platform(node_data):
    """
    Checks OSM node attributes and determines whether the node is a
    public transport platform (e.g bus station).

    :param dict node_data: a dictionary of the node attributes.
    """
    return (
        node_data.get("highway") == "bus_stop" or
        node_data.get("public_transport") == "platform")