class Crn {

    public static boolean isCrn(@Nullable String input) {
        try {
            safeFromString(input);
            return true;
        } catch (NullPointerException | CrnParseException e) {
            return false;
        }
    }

    public  Crn(Partition partition,
            Service service,
            Region region,
            String accountId,
            ResourceType resourceType,
            String resource);

}