moved convert method input validation to another function
moved convert method input validation to another function

drewsetski/koding,drewsetski/koding,gokmen/koding,alex-ionochkin/koding,acbodine/koding,usirin/koding,cihangir/koding,sinan/koding,rjeczalik/koding,gokmen/koding,acbodine/koding,mertaytore/koding,mertaytore/koding,gokmen/koding,jack89129/koding,sinan/koding,cihangir/koding,koding/koding,acbodine/koding,rjeczalik/koding,mertaytore/koding,alex-ionochkin/koding,drewsetski/koding,sinan/koding,cihangir/koding,andrewjcasal/koding,gokmen/koding,sinan/koding,jack89129/koding,usirin/koding,kwagdy/koding-1,mertaytore/koding,drewsetski/koding,koding/koding,rjeczalik/koding,usirin/koding,acbodine/koding,andrewjcasal/koding,kwagdy/koding-1,alex-ionochkin/koding,andrewjcasal/koding,alex-ionochkin/koding,sinan/koding,kwagdy/koding-1,sinan/koding,sinan/koding,alex-ionochkin/koding,acbodine/koding,koding/koding,gokmen/koding,szkl/koding,usirin/koding,acbodine/koding,koding/koding,mertaytore/koding,rjeczalik/koding,rjeczalik/koding,usirin/koding,szkl/koding,cihangir/koding,mertaytore/koding,koding/koding,gokmen/koding,andrewjcasal/koding,andrewjcasal/koding,cihangir/koding,kwagdy/koding-1,szkl/koding,jack89129/koding,mertaytore/koding,acbodine/koding,alex-ionochkin/koding,cihangir/koding,usirin/koding,usirin/koding,gokmen/koding,cihangir/koding,usirin/koding,drewsetski/koding,koding/koding,andrewjcasal/koding,jack89129/koding,sinan/koding,szkl/koding,szkl/koding,jack89129/koding,szkl/koding,rjeczalik/koding,jack89129/koding,alex-ionochkin/koding,alex-ionochkin/koding,jack89129/koding,szkl/koding,kwagdy/koding-1,kwagdy/koding-1,rjeczalik/koding,drewsetski/koding,andrewjcasal/koding,drewsetski/koding,drewsetski/koding,szkl/koding,gokmen/koding,cihangir/koding,koding/koding,rjeczalik/koding,mertaytore/koding,andrewjcasal/koding,jack89129/koding,kwagdy/koding-1,koding/koding,kwagdy/koding-1,acbodine/koding