Check if deposited amount is valid