$content.getData()
#set ($keepLooking = true)
#set ($userCompanyId = $request.portlet-session.application-attributes.companyId.toString())
#foreach($next in $logo.getSiblings())
#if ($keepLooking)
#set ($companyIds = '')
#set ($companyIds = $next.logo_companies.getData())
#set ($companyIgnored = true)
#set ($companyMatched = false)
#foreach($companyId in $companyIds.split(","))
#set ($trimmedId = $companyId.trim())
#if ($trimmedId != '')
#set ($companyIgnored = false)
#set ($companyMatched = ($companyMatched || ($trimmedId == $userCompanyId)))
#end
#end
#if ($companyIgnored || $companyMatched)
#set ($keepLooking = false)
#end
#end
#end