def is_loan(x):
    """
    Tests for loan words. 
    These are in cognate set M, M1, M2, or A or L etc
    """
    if x.startswith("M"):
        return True
    elif x in ("A", "L", "P", "T"):
        return True
    return False