def lookupName(n, names):
    """Check if name is in list of names
    
    Parameters
    ----------
    n : str
      Name to check
    names : list
      List of names to check in
    
    Returns
    -------
    bool
      Flag denoting if name has been found in list (True) or not (False)
    """
    if n in names:
        return True
    else:
        return False