A method that accepts the same set of inputs will always produce the same output.

Java Example

java.lang.Boolean.valueOf("TRUE")