method

consumes?

consumes?(str)
public

Checks if the string is valid UTF8.