':return: A list of all methods that the current payload implements,
in other words, a list with [\'execute\', \'read\'] if the
methods run_execute and run_read exist.'

def get_payload_implemented_methods(self):

    implemented_methods = []
    for syscall in SYSCALL_LIST:
        implemented_method = ('run_' + syscall)
        try:
            getattr(self, implemented_method)
        except AttributeError:
            pass
        else:
            implemented_methods.append(syscall)
    return set(implemented_methods)
