You only have the source code of the make-up of the pages you view in your browser. These normally do not contain any crucial/secret logic. The source code I’m talking about is the code on the server itself, which generates the pages you view and would contain checks such as the one you asked about. This code is normally not available from the outside.
For example, you will not find the check for ‘Ronald’ in the source code you have for this challenge. Just the code to select a user and submit it to the server.
And yes, anything is possible, but I doubt Amazon would have something this silly.