code: public AbstractAttribute getAttributeByName(final String attributeName) {
          final Lock lock = sharedObject.getLock(ACCESS_OBJECT).readLock();
          AbstractAttribute result = null;
          try {
              lock.lock();
  
              if (attributesMap != null) {
                  result = attributesMap.get(attributeName);
              }
          } finally {
              lock.unlock();
          }
          return result;
      }
docs: gets the attribute by attribute name
  
  @return the attribute object for the given attribute name if exists
  otherwise returns null.
  @since 2.0.0
  @author WFF