parameters: (self, s)
return_statement: return False
docstring: :type s: str
          :rtype: bool
docstring_summary: :type s: str
          :rtype: bool
docstring_tokens: : type s : str : rtype : bool
function: def checkPartitioning(self, s):
          """
          :type s: str
          :rtype: bool
          """        
          dp = [[False]*len(s) for _ in xrange(len(s))]
          for i in reversed(xrange(len(s))):
              for j in xrange(i, len(s)):
                  if s[i] == s[j] and (j-i < 2 or dp[i+1][j-1]):
                      dp[i][j] = True
          for i in xrange(1, len(s)-1):
              if not dp[0][i-1]:
                  continue
              for j in xrange(i+1, len(s)):
                  if not dp[j][-1]:
                      continue
                  if dp[i][j-1]:
                      return True
          return False
function_tokens: def checkPartitioning ( self , s ) : dp = [ [ False ] * len ( s ) for _ in xrange ( len ( s ) ) ] for i in reversed ( xrange ( len ( s ) ) ) : for j in xrange ( i , len ( s ) ) : if s [ i ] == s [ j ] and ( j - i < 2 or dp [ i + 1 ] [ j - 1 ] ) : dp [ i ] [ j ] = True for i in xrange ( 1 , len ( s ) - 1 ) : if not dp [ 0 ] [ i - 1 ] : continue for j in xrange ( i + 1 , len ( s ) ) : if not dp [ j ] [ - 1 ] : continue if dp [ i ] [ j - 1 ] : return True return False