add is_valid row method to theatre class