Change valid_name? to name_valid?
Extract method to valid layout name