Another way to say "This house has rooms in its attic." is "The attic  is divided into rooms."