Entiry_picture_template Assistance

Can someone advise what I might have wrong here. Even when the state shows me “Cory Work” it displays the “?” picture.

      entity_picture_template: >
            {% if is_state('states.device_tracker.life360_cory.attributes.address', 'home') %}
              '/local/home blue.jpg'
            {% elif is_state('states.device_tracker.life360_cory.attributes.address', 'Cory Work') %}
              '/local/Stefanini.jpg'
            {% else %}
              '/local/Question Mark.JPG'
            {% endif %}

Working in template editor, I can use the address, or place, and it always returns false which I now understand why it shows the ‘?’ all the time. What I don’t understand is why it says False when it is actually true. I did find a different way to do it, but still would like to understand the reasoning behind why it says False and not True.

{{states.device_tracker.life360_cory.attributes.place}} = Cory Work

{{is_state(‘device_tracker.life360_cory.attributes.place’, ‘Cory Work’) }} = False