def check(checkRow, checkColumn):
    """checks if this row and column is valid, used when looking at possible piece movement"""
    if 0 <= checkRow <= 7 and 0 <= checkColumn <= 7:
        return True
    return False