<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def is_eligible(self, segment):
 """ A segment is eligible to have its children subsegments streamed if it is sampled and it breaches streaming threshold. """

        if not segment or not segment.sampled:
            return False

        return segment.get_total_subsegments_size() > self.streaming_threshold