Note the location of the wall in question before climbing into the attic.
Climb into the attic and determine the direction of the ceiling joists. The ceiling joists will have one end sitting on the exterior wall of the house, while the other end will sit either on the opposite outside wall or on a partition wall in the interior of the house.
Locate the wall in question while in the attic. If the wall is perpendicular to the joists and the end of a ceiling joist rests on the wall, the wall is structural. If the wall is parallel to the joists or if joists that cross the wall rest on both exterior walls, the wall in not structural.