#NEWLINE# def can_merge( self ) : #NEWLINE# #INDENT# '\n        Test whether a pull request can be merged.\n\n        A pull request may not be merged if:\n\n            * there are conflicts that need to be manually resolved before merging; and/or\n            * one or more merge checks have vetoed the merge.\n        ' #NEWLINE# res = self . merge_info ( ) #NEWLINE# return ( res [ 'canMerge' ] and ( not res [ 'conflicted' ] ) )