class DetectInstrument {

    private static boolean seawifs(Product product) {
        MetadataElement globalAttributes = product.getMetadataRoot().getElement(GLOBAL_ATTRIBUTES);

        String attribName = "Title";
        if (globalAttributes != null && globalAttributes.containsAttribute(attribName)) {
            final String title = globalAttributes.getAttributeString(attribName);
            if (title.equals(SEAWIFS_TITLE)) {
                return true;
            }
        }

        return false;
    }

}