<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def length(self):
 """Total surveyed cave length, not including splays."""

        return sum([shot.length for shot in self.shots if not shot.is_splay])