WordPress.com doesn’t allow you to upload themes. So if you can upload a theme through your WordPress dashboard, then you have a self hosted WordPress.org site. If there is no option for you to upload your theme, you have a WordPress.com site.
Checking For WordPress.org Self Hosted Site
Checking Your WordPress.com Site