What your attic probably does not have is a set of code compliant stairs.
Attic access code requirements.
Your attic may presently have a fixed ladder a pull down ladder or no ladder at all.
See the california mechanical code for access requirements where mechanical equipment is located in attics.
Here s the full text of the code.
The 2012 international residential code requires an attic access opening for attics with an area greater than 30 square feet and a vertical height in excess of 30 inches.
Where the access is located in a ceiling minimum unobstructed headroom in the attic space shall be 30 inches 762 mm at some point above the access measured vertically from the bottom of ceiling framing members.
The rough framed opening.
When the access is located in a ceiling minimum unobstructed headroom in the attic space shall be 30 inches 762 mm at some point above the access measured vertically from the bottom of ceiling framing members.
When located in a wall the opening shall be a minimum of 22 inches wide by 30 inches high 559 mm wide by 762 mm high.
When located in a wall the opening shall be a minimum of 22 inches wide by 30 inches high 559 mm wide by 762 mm high.