Extracted validation helpers