Detect magento by framework value