Added isSampleEditable() rest service