This example would have undefined results, always. If findElement is an answer to a question, your question is ambiguous. The findElement method returns THE match. You are asking it for ANY match. If there is only one anchor on the entire page it might work. However, if the size of findElements is greater than 1, using findElement will have undefined results.
An undefined result means it is valid to work all the time, work some of the time, format your hard drive, never work, cause your automation to lock up. These and many more are all proper responses to ambiguous requests.
Darrell