class DefaultPropertyDetector implements EncryptablePropertyDetector {

    private String prefix = "ENC(";
    private String suffix = ")";

    /**
     * <p>Constructor for DefaultPropertyDetector.</p>
     */
    public DefaultPropertyDetector() {
    }

    /**
     * <p>Constructor for DefaultPropertyDetector.</p>
     *
     * @param prefix a {@link java.lang.String} object
     * @param suffix a {@link java.lang.String} object
     */
    public DefaultPropertyDetector(String prefix, String suffix) {
        Assert.notNull(prefix, "Prefix can't be null");
        Assert.notNull(suffix, "Suffix can't be null");
        this.prefix = prefix;
        this.suffix = suffix;
    }

    /** {@inheritDoc} */
    @Override
    public boolean isEncrypted(String property) {<FILL_FUNCTION_BODY>}

    /** {@inheritDoc} */
    @Override
    public String unwrapEncryptedValue(String property) {
        return property.substring(
                prefix.length(),
                (property.length() - suffix.length()));
    }
}

        if (property == null) {
            return false;
        }
        final String trimmedValue = property.trim();
        return (trimmedValue.startsWith(prefix) &&
                trimmedValue.endsWith(suffix));
    
<no_super_class>