def test_for_py_operator(item: str):
    """
    Returns True if `item` represents a str that can be used as
    a Python arithmetic or binary operator. Return False otherwise.

    Python arithmetic operators:
    +, -, *, %, **
    (note `/`, and `//` is not considered b/c they will be 
    swapped out as fractions)

    Python binary operators:
    >, <, =
    """
    py_ops = ["+", "-", "*", "%", "//", "**"]
    for op in py_ops:
        if op == str(item):
            return True

    bin_ops = "<>="
    for op in bin_ops:
        if op in str(item):
            return True

    return False