def is_binary_operator(oper):
<EOL>symbols = [<EOL>'<STR_LIT:U+002C>', '<STR_LIT>', '<STR_LIT>', '<STR_LIT>', '<STR_LIT:%>', '<STR_LIT>', '<STR_LIT:&>', '<STR_LIT>', '<STR_LIT>', '<STR_LIT:*>', '<STR_LIT>', '<STR_LIT:+>',<EOL>'<STR_LIT>', '<STR_LIT:->', '<STR_LIT>', '<STR_LIT>', '<STR_LIT>', '<STR_LIT:/>', '<STR_LIT>', '<STR_LIT:<>', '<STR_LIT>', '<STR_LIT>', '<STR_LIT>', '<STR_LIT:=>',<EOL>'<STR_LIT>', '<STR_LIT:>>', '<STR_LIT>', '<STR_LIT>', '<STR_LIT>', '<STR_LIT>', '<STR_LIT>', '<STR_LIT:|>', '<STR_LIT>', '<STR_LIT>']<EOL>if not isinstance(oper, calldef_members.operator_t):<EOL><INDENT>return False<EOL><DEDENT>if oper.symbol not in symbols:<EOL><INDENT>return False<EOL><DEDENT>if isinstance(oper, calldef_members.member_operator_t):<EOL><INDENT>if len(oper.arguments) == <NUM_LIT:1>:<EOL><INDENT>return True<EOL><DEDENT>return False<EOL><DEDENT>if len(oper.arguments) == <NUM_LIT:2>:<EOL><INDENT>return True<EOL><DEDENT>return False<EOL>
returns True, if operator is binary operator, otherwise False