Function for checking whether a chromosome is valid for a certain species