Add a optional argument to is_signed method.