Write a program that will generate a "true" output iff the input matches the source code of the program, and which generates a "false" output iff the input does not match the source code of the program.
This problem can be described as being related to quines, as the program must be able to somehow compute its own source code in the process.
This is code golf: standard rules apply. Your program must not access any special files, such as the file of its own source code.
Edit: If you so choose, true/false can be replaced with True/False or 1/0.
Example
If the source code of your program is bhiofvewoibh46948732));:/)4
, then here is what your program must do:
Input (Stdin)
bhiofvewoibh46948732));:/)4
Output (Stdout)
true
Input
(Anything other than your source code)
Output
false
true
/false
output a strong requirement, or are variations (True
/False
,1
/0
) acceptable as well? \$\endgroup\$