parameters: (self, index)
return_statement: return False
docstring: Does the segment at index have a close button
          @param index: int
docstring_summary: Does the segment at index have a close button
          @param index: int
docstring_tokens: Does the segment at index have a close button @param index : int
function: def SegmentHasCloseButton(self, index):
          """Does the segment at index have a close button
          @param index: int
  
          """
          button = self._buttons[index]
          if button.Options & SEGBTN_OPT_CLOSEBTNL or \
             button.Options & SEGBTN_OPT_CLOSEBTNR:
              return True
          return False
function_tokens: def SegmentHasCloseButton ( self , index ) : button = self . _buttons [ index ] if button . Options & SEGBTN_OPT_CLOSEBTNL or button . Options & SEGBTN_OPT_CLOSEBTNR : return True return False