• What's wrong

Question related to mission Secret Message

 

I tried the lines below and failed. Are there anything wrong with the lines? Thanks.

======================================

def find_message(text: str) -> str:

cap=''
for x in text:
    if x.isupper==True:
        cap+=x
        return cap
    else:
        continue    
return cap
if cap=='':
    print('Nothing')
else:
    print(cap)