def CentCheck(Cent, H):
    """needs doc string"""
    h, k, l = H
    if Cent == 'A' and (k + l) % 2:
        return False
    elif Cent == 'B' and (h + l) % 2:
        return False
    elif Cent == 'C' and (h + k) % 2:
        return False
    elif Cent == 'I' and (h + k + l) % 2:
        return False
    elif Cent == 'F' and ((h + k) % 2 or (h + l) % 2 or (k + l) % 2):
        return False
    elif Cent == 'R' and (-h + k + l) % 3:
        return False
    else:
        return True
