added the isRequired method to a row