old_contents: export default function isValid(error) {
  
  }
  
new_contents: export default function isValid(error) {
    if ( !Array.isArray(error) ) {
      return !error;
    }
    return error.reduce(( valid, errorValue ) => valid && !errorValue, true);
  }
  
subject: Add functionality to allow for arrays of error values