parameters: (self, search_pid)
return_statement: return False
docstring: Returns whether or not |search_pid| is the first pid in the |pids| with
      the associated application userId.  This is used to determine if network
      statistics should be shown for this pid or if they have already been shown
      for a pid associated with this application.
docstring_summary: Returns whether or not |search_pid| is the first pid in the |pids| with
      the associated application userId.  This is used to determine if network
      statistics should be shown for this pid or if they have already been shown
      for a pid associated with this application.
docstring_tokens: Returns whether or not |search_pid| is the first pid in the |pids| with the associated application userId . This is used to determine if network statistics should be shown for this pid or if they have already been shown for a pid associated with this application .
function: def IsFirstPidForUserId(self, search_pid):
      """Returns whether or not |search_pid| is the first pid in the |pids| with
      the associated application userId.  This is used to determine if network
      statistics should be shown for this pid or if they have already been shown
      for a pid associated with this application."""
      prev_userid = None
      for idx, (userid, pid, name) in enumerate(self.pids):
        if pid == search_pid:
          return prev_userid != userid
        prev_userid = userid
      return False
function_tokens: def IsFirstPidForUserId ( self , search_pid ) : prev_userid = None for idx , ( userid , pid , name ) in enumerate ( self . pids ) : if pid == search_pid : return prev_userid != userid prev_userid = userid return False