Based on tags I guess you have an issue with loading product data on checkout cart page and let me explain 2 possible way to solve
Magento loads restricted attribute list for category collection or quote (cart) collection
1. Add your attribute to load in cart
In your custom extension create config file catalog_attributes.xml
app/code/Acme/StackExchange/etc/catalog_attributes.xml
<?xml version="1.0"?>
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="urn:magento:module:Magento_Catalog:etc/catalog_attributes.xsd">
<group name="quote_item">
<attribute name="franke"/>
</group>
</config>
Don't forget to flush cache, etc. After you can receive this data from product. In case you have a boolean attribute better to check like:
<?php if ($product->getData('franke') === '1'): ?>
YES
<?php else: ?>
NO or NOT DEFINED
<?php endif; ?>
2. Load raw attribute data from product (worst in key of performance)
$franke = $product->getResource()->getAttributeRawValue($product->getId(), 'franke', $product->getStoreId());
// check ($franke === '1')