请问各位兄弟姐妹这应该如何简化呀

a=set(input())
b=input()
c=0
for i in a:
    if i in b:
        c+=1
if c==len(a):
    print('true')
else:
    print('false')