def narcissistic(value):
    return value == sum(int(x) ** len(str(value)) for x in str(value))

ae39b5d25ef4f68327d9a2d5d124c82919077b0f
<mask token>

def narcissistic(value):
    return value == sum(int(x) ** len(str(value)) for x in str(value))
