def isOwned(players,card):
    """
    checks if the selected card is owned by anyone.
    :param players: The array containing all player objects.
    :param card: The current position/card that would like to be checked.
    :return: True or False.
    """
    cardGrp = card.group
    cardGrpID = card.groupID
    for i in players:
        propLocation = i.properties[cardGrp-1]
        if(propLocation[cardGrpID] == '1'):
            print("Owned by: " + i.name)
            return True
    return False