<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def _send_string(self,value):
 """ Convert a string to a bytes object. If value is not a string, it is be converted to one with a standard string.format call. """


        if type(value) != bytes:
            value = "{}".format(value).encode("ascii")

        return value