<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def find_segment_first(self, *args, **kwargs):
 """Finds the first matching segment. Same parameters as find_segments(), but only returns the first match, or None if no match is found."""


        for m in self.find_segments(*args, **kwargs):
            return m

        return None